<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Name       : Reckoning
Description: A two-column, fixed-width design for 1024x768 screen resolutions.
Version    : 1.0
Released   : 20090629

-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Reckoning by Free CSS Templates</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>

<h1>Listing Green Simulations</h1>

<table>
  <tr>
    <th>Source |</th>
    <th>Logged At |</th>
    <th>Power |</th>
    <th>Hour</th>
    <th></th>
    <th></th>
  </tr>

<% @green_simulations.each do |green_simulation| %>
  <tr>
    <td><%= green_simulation.source_id %></td>
    <td><%= green_simulation.logged_at.strftime("%X") %></td>
    <td><%= green_simulation.power %></td>
    <td><%= green_simulation.sim_hour %></td>
    <td><%= link_to 'Show', green_simulation %></td>
    <td><%= link_to 'Edit', edit_green_simulation_path(green_simulation) %></td>
    <td><%= link_to 'Destroy', green_simulation, confirm: 'Are you sure?', method: :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Green simulation', new_green_simulation_path %>

</body>
</html>